﻿using System;

namespace BookStore
{
    public class TextBook : Book
    {
        private Subject subject;

        public Subject Subject
        {
            get { return this.subject; }
            set { subject = value; }
        }

        public TextBook(string name, Publisher publisher, string contentType, decimal price, string author, int pages, Subject subject)
            : base(name, publisher, contentType, price, author, pages)
        { }
    }
}
